﻿#pragma once
#include "MdbStructs.h"

namespace mdb
{
	struct TickEqualForInstrumentIDIndex
	{
		bool operator()(const Tick* const left, const Tick* const right) const;
	};
	struct TickLessForInstrumentIDIndex
	{
		bool operator()(const Tick* const left, const Tick* const right) const;
	};

	struct BarEqualForInstrumentIDIndex
	{
		bool operator()(const Bar* const left, const Bar* const right) const;
	};
	struct BarLessForInstrumentIDIndex
	{
		bool operator()(const Bar* const left, const Bar* const right) const;
	};

	struct BarEqualForTradingDayIndex
	{
		bool operator()(const Bar* const left, const Bar* const right) const;
	};
	struct BarLessForTradingDayIndex
	{
		bool operator()(const Bar* const left, const Bar* const right) const;
	};

}
